-- GENERATED SPELL FOR [Void Spawn] --


function spell0_25824(pUnit, Event) --@Shadow Bolt Volley,n/a--
pUnit:FullCastSpellOnTarget(46082,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25824', 542, 1)
end

function Sorts_25824(pUnit, Event)
local choix_sorts_25824 = math.random(0, 0)
if choix_sorts_25824 == 0 then
pUnit:RegisterEvent('spell0_25824', 1, 1)
end
end

function mob25824_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25824', math.random(1500, 3000), 1)
end

function mob25824_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25824_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25824_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25824, 1, 'mob25824_Action')
RegisterUnitEvent(25824, 2, 'mob25824_Leave')
RegisterUnitEvent(25824, 3, 'mob25824_Kill')
RegisterUnitEvent(25824, 4, 'mob25824_Die')
